package com.neusoft.neu.his.myhis.entity;

import lombok.Data;

import java.util.Date;

/**
 * Person 员工
 *
 * @author Administrator
 * @version 2024/06/07 16:01
 **/
@Data
public class Person {
    static  int index =1 ;
    private Integer id;
    private String firstName = null;
    private String lastName = null;
    private Date  hiredate =new Date();

    public Person() {
    }

    public Person(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.id =  index++;
    }
}